
strstr.o:     file format elf32-littlearm


Disassembly of section .text:

00000000 <main>:
#include <stdio.h>
#include <string.h>

void main()
{
   0:	e92d4800 	push	{fp, lr}
   4:	e28db004 	add	fp, sp, #4
   8:	e24dd008 	sub	sp, sp, #8
    char *data = "  ";
   c:	e59f3044 	ldr	r3, [pc, #68]	; 58 <main+0x58>
  10:	e50b3008 	str	r3, [fp, #-8]
    char *pstr = NULL;
  14:	e3a03000 	mov	r3, #0
  18:	e50b300c 	str	r3, [fp, #-12]

    pstr = strstr(data, "ao");
  1c:	e59f1038 	ldr	r1, [pc, #56]	; 5c <main+0x5c>
  20:	e51b0008 	ldr	r0, [fp, #-8]
  24:	ebfffffe 	bl	0 <strstr>
  28:	e50b000c 	str	r0, [fp, #-12]

    if (pstr != NULL) {
  2c:	e51b300c 	ldr	r3, [fp, #-12]
  30:	e3530000 	cmp	r3, #0
  34:	0a000003 	beq	48 <main+0x48>
        printf("pstr = %s\n", pstr);
  38:	e51b100c 	ldr	r1, [fp, #-12]
  3c:	e59f001c 	ldr	r0, [pc, #28]	; 60 <main+0x60>
  40:	ebfffffe 	bl	0 <printf>
  44:	ea000001 	b	50 <main+0x50>
    }
    else {
        printf("pstr is blank\n");
  48:	e59f0014 	ldr	r0, [pc, #20]	; 64 <main+0x64>
  4c:	ebfffffe 	bl	0 <puts>
    }
}
  50:	e24bd004 	sub	sp, fp, #4
  54:	e8bd8800 	pop	{fp, pc}
  58:	00000000 	.word	0x00000000
  5c:	00000004 	.word	0x00000004
  60:	00000008 	.word	0x00000008
  64:	00000014 	.word	0x00000014
